package com.lingyue.entity.module.def.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author deep
 * @version 1.0 on 2020-01-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("failed_reason")
@ApiModel(value="FailedReasonEntity对象", description="")
public class FailedReasonEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "FAL_ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "战败原因编码")
    @TableField("FAL_CODE")
    private String code;

    @ApiModelProperty(value = "战败原因内容")
    @TableField("FAL_TEXT")
    private String text;

    @ApiModelProperty(value = "线索类型ID/1-金融/2-售后/3-二手车")
    @TableField("FAL_CAMPAIGN_TYPE")
    private String campaignType;

    @ApiModelProperty(value = "父级ID")
    @TableField("FAL_PARENT_CODE")
    private String parentCode;

    @ApiModelProperty(value = "系统推送标记: Y")
    @TableField("FAL_SYSTEM_PUSE")
    private String systemPuse;

    @ApiModelProperty(value = "记录创建人")
    @TableField("FAL_CREATE_USER")
    private String createUser;

    @ApiModelProperty(value = "记录创建日期")
    @TableField("FAL_CREATE_DATE")
    private LocalDateTime createDate;

    @ApiModelProperty(value = "记录修改人")
    @TableField("FAL_UPDATE_USER")
    private String updateUser;

    @ApiModelProperty(value = "记录修改日期")
    @TableField("FAL_UPDATE_DATE")
    private LocalDateTime updateDate;


    public static final String FAL_ID = "FAL_ID";
    public static final String FAL_CODE = "FAL_CODE";
    public static final String FAL_TEXT = "FAL_TEXT";
    public static final String FAL_CAMPAIGN_TYPE = "FAL_CAMPAIGN_TYPE";
    public static final String FAL_PARENT_CODE = "FAL_PARENT_CODE";
    public static final String FAL_SYSTEM_PUSE = "FAL_SYSTEM_PUSE";
    public static final String FAL_CREATE_USER = "FAL_CREATE_USER";
    public static final String FAL_CREATE_DATE = "FAL_CREATE_DATE";
    public static final String FAL_UPDATE_USER = "FAL_UPDATE_USER";
    public static final String FAL_UPDATE_DATE = "FAL_UPDATE_DATE";
}
